package com.juneng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 书籍折扣实体类
 *
 * @author zds
 * @since 2021-07-30
 */
@Data
@ApiModel(value = "BookDiscount对象", description = "书籍折扣")
@TableName("book_discount")
public class BookDiscount implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增id
     */
  @ApiModelProperty(value = "自增id")
  @TableId(value = "book_discount_id", type = IdType.AUTO)

  private Long bookDiscountId;
    /**
     * 打几折
     */
  @ApiModelProperty(value = "打几折")

  private String bookAFewFold;
    /**
     * 创建时间
     */
  @ApiModelProperty(value = "创建时间")

  private LocalDateTime createDate;
    /**
     * 修改时间
     */
  @ApiModelProperty(value = "修改时间")

  private LocalDateTime updateDate;
    /**
     * 逻辑删除：0->不删除 1->删除
     */
  @ApiModelProperty(value = "逻辑删除：0->不删除 1->删除")

  private Integer deleted;


}
